package com.design.bridge;

import com.design.util.XMLUtil;

/**
 * @author leali
 * @title: Bridge
 * @projectName design
 * @description: BridgeClient
 * @date 2022/1/2 22:39
 */
public class BridgeClient {
    public static void main(String[] args) {
        Image image= (Image)XMLUtil.getValueByTagName("bridgeName",0,true);
        ImageImp imp=(ImageImp)XMLUtil.getValueByTagName("bridgeName",1,true);
        assert image != null;
        image.setImageImp(imp);
        image.parseFile("小龙女");
    }
}
